package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单附属信息表
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsOrderSub对象", description="订单附属信息表")
public class ZsOrderSub extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单附属表主键")
    @TableId(value = "os_id", type = IdType.AUTO)
    private Integer osId;

    @ApiModelProperty(value = "所属订单ID")
    private Integer oId;

    @ApiModelProperty(value = "所属用户表ID（下单人）")
    private Integer uId;

    @ApiModelProperty(value = "所属游客信息主键")
    private Integer vId;

    @ApiModelProperty(value = "拼团的团号，只在线路游中出现")
    private Integer gtrgId;


}
